package com.qianfeng.biz;

import com.qianfeng.dto.PageBean;
import com.qianfeng.entity.User;

public interface IUserBiz {

	int checkNameExits(String username);

	int addUser(User user);

	User modifyInfo(User user, String nick_name, String sex, String birthday, String phone, String email,
			String address, String code);

	int update(User user);

	User checkLogin(User user);

	User checkBackLogin(String username, int password);

	PageBean queryall(int currPage);

	User getUserById(int userid);

	int updateUserInfo(User user);

	int updateUserLockState(int userid, int lockstate);

	int deleteById(int typeid);

	int addUserInfo(User user);
}
